package com.silverbox.shopper.entity;

import java.util.Date;

/**
box_rule
 */
public class Rule {
    /**
     */
    private Integer id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 每日结束时间
     */
    private Long dayEnd;

    /**
     * 每日开始时间
     */
    private Long dayStart;

    /**
     * 扩展属性
     */
    private String features;

    /**
     * 是否适用外卖
     */
    private Integer isTakeout;

    /**
     * 是否有效
     */
    private Integer isValid;

    /**
     * 规则名称
     */
    private String name;

    /**
     * 描述
     */
    private String ruleDesc;

    /**
     * 规则结束时间
     */
    private Date ruleEnd;

    /**
     * 规则开始时间
     */
    private Date ruleStart;

    /**
     * 商家ID
     */
    private Integer shopId;

    /**
     * 所属门店
     */
    private Integer shopperId;

    /**
     * 适用周期
     */
    private String weeklys;

    /**
     * 0:未删除  1：已删除
     */
    private Integer isDelete;

    /**
     * 创建者类型  0：子帐号创建 1：主张号创建
     */
    private Integer createrType;

    /**
     * 修改时间
     */
    private Date modifyTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getDayEnd() {
        return dayEnd;
    }

    public void setDayEnd(Long dayEnd) {
        this.dayEnd = dayEnd;
    }

    public Long getDayStart() {
        return dayStart;
    }

    public void setDayStart(Long dayStart) {
        this.dayStart = dayStart;
    }

    public String getFeatures() {
        return features;
    }

    public void setFeatures(String features) {
        this.features = features == null ? null : features.trim();
    }

    public Integer getIsTakeout() {
        return isTakeout;
    }

    public void setIsTakeout(Integer isTakeout) {
        this.isTakeout = isTakeout;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getRuleDesc() {
        return ruleDesc;
    }

    public void setRuleDesc(String ruleDesc) {
        this.ruleDesc = ruleDesc == null ? null : ruleDesc.trim();
    }

    public Date getRuleEnd() {
        return ruleEnd;
    }

    public void setRuleEnd(Date ruleEnd) {
        this.ruleEnd = ruleEnd;
    }

    public Date getRuleStart() {
        return ruleStart;
    }

    public void setRuleStart(Date ruleStart) {
        this.ruleStart = ruleStart;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public String getWeeklys() {
        return weeklys;
    }

    public void setWeeklys(String weeklys) {
        this.weeklys = weeklys == null ? null : weeklys.trim();
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getCreaterType() {
        return createrType;
    }

    public void setCreaterType(Integer createrType) {
        this.createrType = createrType;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}